<?php
/**
 * 
 */
namespace app\manage\controller\agenttype;

use app\manage\controller\Base;

class Show extends Base
{
    public function index(){
        // 页面信息
        $pageData = ['title'=>'代理类型管理'];

        $this->assign('pageData',$pageData);
        return view();
    }

    public function config(){

    	$id = $this->request->param('id');
        $agentTypeName = \app\common\query\AgentType::agentTypeData($id)['type_name'];

    	// 页面信息
        $pageData = ['title'=>'代理配置管理'];

        $this->assign('pageData',$pageData);
        $this->assign('id',$id);
        $this->assign('agentTypeName',$agentTypeName);
        return view();
    }
    
}